package com.lmqb.dao;

import java.util.List;

import com.lmqb.bean.LmUserEmergency;
import com.lmqb.page.UserEmergencyPager;

public interface LmUserEmergencyMapper {
    int deleteByPrimaryKey(Integer emergencyId);

    int insert(LmUserEmergency record);

    int insertSelective(LmUserEmergency record);

    LmUserEmergency selectByPrimaryKey(Integer emergencyId);

    int updateByPrimaryKeySelective(LmUserEmergency record);

    int updateByPrimaryKey(LmUserEmergency record);

	List<LmUserEmergency> selectAll(UserEmergencyPager pagerModel);

	int selectCount(UserEmergencyPager pagerModel);

	LmUserEmergency selectByUserId(Integer userId);
}